from django.shortcuts import render, HttpResponse


# Create your views here.

# request string
def book_detail_request_string(request):
    book_id = request.GET.get('id')
    return HttpResponse("您的ID是: {}".format(book_id))

# path
def book_detail_path(request, book_id):
    return HttpResponse("您的ID是: {}".format(book_id))
